package router

import (
	v1 "gin-wave-im/controller/v1"
	"github.com/gin-gonic/gin"
)

func InitChatRouter(chatGroup *gin.RouterGroup) {
	chatGroup.GET("", v1.Chat)
}

func InitMessageRouter(messageGroup *gin.RouterGroup) {
	messageGroup.GET("", v1.RealTimeMessage)
	messageGroup.GET("/historyRecord", v1.HistoryRecord)
	messageGroup.POST("/makeRead", v1.MakeRead)
}
